package com.sdjzu.university.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.sdjzu.university.entity.information;
import org.apache.ibatis.annotations.*;

import java.util.List;

@Mapper
public interface informationMapper extends BaseMapper<information> {
    @Select("select * from information")
    List<information> selectList();

    @Insert("insert into information values (6,2019-12-17 16:34:13,'新高考政策')")
    int insert();

    @Update("update information set informationid = 3 where comtent = '山东省152所普通高等院校名单'")
    int update();

    @Delete("delete from information where informationid = 4")
    int delete();
}
